package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author xglhappy
 * @since 2022-04-14
 */
@Getter
@Setter
@TableName("health_sys_user_kinsfolk")
@ApiModel(value = "用户亲属对象", description = "用户亲属信息")
public class UserKinsfolk implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("患者id")
    private Long uid;

    @ApiModelProperty("患者姓名")
    private String uname;

    @ApiModelProperty("亲属id")
    private Long kinsfolkid;

    @ApiModelProperty("亲属电话号码")
    private String phone;

    @ApiModelProperty("亲属用户姓名")
    private String name;

    @ApiModelProperty("亲属身份证号")
    private String cardid;

}
